'''
Created on Mar 30, 2011

@author: diego
'''



def writeToOutput(data, file = "output.html"):
    try:
        fileHandler = open(file,'w')
        fileHandler.write(data)
        fileHandler.close()
    except IOError:
        print "Error al escribir"